57f58ef063d519e292477bac43d8256fa2ebb452,src/main/java/org/basex/query/path/NameTest.java,NameTest,comp,#QueryContext#,52

Before Change


      ok = type == Type.ATT || eq(ns, ctx.nsElem);
      if(ok) {
        // identical namespace: ignore prefix to speed up test
        ctx.compInfo(OPTPREF, ln);
        test = Name.NAME;
      }
    }

After Change


      ok = type == Type.ATT || eq(ns, ctx.nsElem);
      if(ok) {
        // identical namespace: ignore prefix to speed up test
        if(ns.length != 0) ctx.compInfo(OPTPREF, ln);
        test = Name.NAME;
      }
    }